-
Notifications
You must be signed in to change notification settings - Fork 1
chore: prevent native node functions from leaking to js #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
be1764c
to
76597c7
Compare
}, | ||
}, | ||
], | ||
'no-restricted-globals': [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the rule that was added. Other rules were just sorted alphabetically.
739c65f
to
cc41463
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thinking!
cc41463
to
8d3a4fb
Compare
message: "'clearImmediate' unavailable in JavaScript.", | ||
}, | ||
{ | ||
name: 'process', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 although looks like this is showing up in a lint-test-sdk
error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can write extension specific overrides. One sec; I'll update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
8d3a4fb
to
5065934
Compare
Lint checks that prevent Node.js globals from leaking to the JavaScript SDK. The lint job should pass once Eppo-exp/js-client-sdk#115 is merged.